<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>jquery-dom驱动实例</title>
</head>
<body>
<div id="box1">
<table id="list">

</table>
</div>
</body>
<script src="../../lib/jquery.js"></script>
<script src="../../lib/vue.js"></script>
<script>

    var arr = ["hello1","hello2"];
    var employees = [
        {
            id:1,
            name:'L',
            age:133
        },  {
            id:2,
            name:'M',
            age:33
        }
    ]
   // $('#box1').text("hello");
    for(var i=0;i<arr.length;i++){
        var box = $('<div></div>').text(arr[i]);
        $('#box1').append(box);
    }


</script>
</html>